package com.mobisys.live.dao.mapper;

import com.mobisys.live.dao.model.Tag;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TagMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);


    //插入标签，判断不重复，返回id
    int insertAndGetId(Tag record);



}